
class coder :
    def work(self):
        print("工作")
    def sleep(self):
        print("睡觉")
    
c = coder()
c.work()
c.sleep()